var Dashboard = function() {
	var showContent = function(url, target) {
		if (g_intervalId != null) {
			window.clearInterval(g_intervalId);
		}
		if (orgcode == null || orgcode == "") {
			orgcode = "001";
		}
		var el = $("#" + target);
		App.blockUI({
			target : el,
			animate : true,
			overlayColor : 'none'
		});
		$.ajax({
			type : "GET",
			cache : false,
			url : url,
			dataType : "html",
			success : function(res) {
				App.unblockUI(el);
				el.html(res);
				App.initAjax();
			},
		});
	}

	return {
		init : function() {
		},
		showContent : function(url) {
			showContent(url, 'pageContent');
		}
	};
}();

jQuery(document).ready(function() {
	Dashboard.init();
});
